/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package projekt;

/**
 * Abstract item class that contains variables for all items and allows them to
 * be walked over.
 */
public abstract class Items extends LevelObject {

    /**
     * String of a name.
     */
    private String name;
    /**
     * int of health gained.
     */
    private int extraHp;
    /**
     * int of extra damage gained.
     */
    private int extraAttackDmg;
    /**
     * int of extra armor gained.
     */
    private int extraArmor;
    /**
     * int of extra gold gained.
     */
    private int extraGold;
    /**
     * int of extra XP gained.
     */
    private int extraXp;
    /**
     * Symbol to be displayed.
     */
    private String symbol;

    /**
     * returns the name.
     *
     * @return name
     */
    public final String getName() {
        return name;
    }

    /**
     * sets the name.
     *
     * @param nameX = name
     */
    public final void setName(final String nameX) {
        this.name = nameX;
    }

    /**
     * gets the hp gained.
     *
     * @return the hp gained.
     */
    public final int getExtraHp() {
        return extraHp;
    }

    /**
     * sets extra hp.
     *
     * @param extraHpX = hp.
     */
    public final void setExtraHp(final int extraHpX) {
        this.extraHp = extraHpX;
    }

    /**
     * gets extra damage.
     *
     * @return extra damage.
     */
    public final int getExtraAttackDmg() {
        return extraAttackDmg;
    }

    /**
     * sets extra damage.
     *
     * @param extraAttackDmgX = extra damage.
     */
    public final void setExtraAttackDmg(final int extraAttackDmgX) {
        this.extraAttackDmg = extraAttackDmgX;
    }

    /**
     * Gets extra armor.
     *
     * @return Extra Armor.
     */
    public final int getExtraArmor() {
        return extraArmor;
    }

    /**
     * sets extra armor.
     *
     * @param extraArmorX Extra Armor.
     */
    public final void setExtraArmor(final int extraArmorX) {
        this.extraArmor = extraArmorX;
    }

    /**
     * gets extra gold.
     *
     * @return Extra gold.
     */
    public final int getExtraGold() {
        return extraGold;
    }

    /**
     * sets extra gold.
     *
     * @param extraGoldX Extra Gold.
     */
    public final void setExtraGold(final int extraGoldX) {
        this.extraGold = extraGoldX;
    }

    /**
     * Sets extra hp.
     *
     * @param extraXpX = extraXP.
     */
    public final void setExtraXp(final int extraXpX) {
        this.extraXp = extraXpX;
    }
}
